add

abstract fun add(creditCard: CreditCard): String

Adds a new record to the credit card store.

Return

a string indicating the reason for validation failure, or an empty one if the operation succeeds

Since

8.0.0

Parameters

creditCard

a new credit card record

Throws

when the profile is deleted or its engine is closed